package com.community.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.community.common.annotation.Excel;
import com.community.common.core.domain.BaseEntity;

/**
 * route对象 patrol_route
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public class PatrolRoute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 路线ID */
    private Long routeId;

    /** 巡更点ID */
    @Excel(name = "巡更点ID")
    private Long patrolPointId;

    /** 社区ID */
    @Excel(name = "社区ID")
    private Long communityId;

    /** 巡更路线名称 */
    @Excel(name = "巡更路线名称")
    private String routeName;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 是否拍照 */
    @Excel(name = "是否拍照")
    private Long isPhotoRequired;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setRouteId(Long routeId) 
    {
        this.routeId = routeId;
    }

    public Long getRouteId() 
    {
        return routeId;
    }

    public void setPatrolPointId(Long patrolPointId) 
    {
        this.patrolPointId = patrolPointId;
    }

    public Long getPatrolPointId() 
    {
        return patrolPointId;
    }

    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }

    public void setRouteName(String routeName) 
    {
        this.routeName = routeName;
    }

    public String getRouteName() 
    {
        return routeName;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setIsPhotoRequired(Long isPhotoRequired) 
    {
        this.isPhotoRequired = isPhotoRequired;
    }

    public Long getIsPhotoRequired() 
    {
        return isPhotoRequired;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("routeId", getRouteId())
            .append("patrolPointId", getPatrolPointId())
            .append("communityId", getCommunityId())
            .append("routeName", getRouteName())
            .append("description", getDescription())
            .append("isPhotoRequired", getIsPhotoRequired())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
